package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:MiMonthProPortion.java
 * @description	:医保总额月分配比例
 * @author		:mazhaoyan
 * @date		:2015年4月2日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
@Entity
@Table(name="T_MIMONTHPROPORTION", schema = "DRGs")
public class MiMonthProPortion extends KoalaLegacyEntity {

	private static final long serialVersionUID = 7220665028962614134L;

	/**
	 * 空构造函数
	 */
	public MiMonthProPortion() {
		super();
	}

	public MiMonthProPortion(String mimpMonth, double mimpValue, String fundType, String hospCode, String fundId) {
		super();
		this.mimpMonth = mimpMonth;
		this.mimpValue = mimpValue;
		this.fundType = fundType;
		this.hospCode = hospCode;
		this.fundId = fundId;
	}

	//分配月份
	@Column(name = "MIMP_MONTH",nullable=false)
	private String mimpMonth;
	
	//分配比例
	@Column(name = "MIMP_VALUE")
	private double mimpValue;
	
	//基金类型
	@Column(name = "FUND_TYPE")
	private String fundType;
	
	//院区编码
	@Column(name = "HOSP_CODE")
	private String hospCode;
	
	//拼接主键
	@Id
	@Column(name = "FUND_ID")
	private String fundId;
	
	public String getMimpMonth() {
		return mimpMonth;
	}

	public void setMimpMonth(String mimpMonth) {
		this.mimpMonth = mimpMonth;
	}

	public double getMimpValue() {
		return mimpValue;
	}

	public void setMimpValue(double mimpValue) {
		this.mimpValue = mimpValue;
	}
	
	public String getFundType() {
		return fundType;
	}

	public void setFundType(String fundType) {
		this.fundType = fundType;
	}

	public String getHospCode() {
		return hospCode;
	}

	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}

	public String getFundId() {
		return fundId;
	}

	public void setFundId(String fundId) {
		this.fundId = fundId;
	}

	/* (non-Javadoc)
	 * @see org.dayatang.domain.Entity#getId()
	 */
	@Override
	public Serializable getId() {
		return this.fundId;
	}

	/* (non-Javadoc)
	 * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()
	 */
	@Override
	public String[] businessKeys() {
		return null;
	}

}
